<?xml version="1.0" encoding="iso-8859-1"?>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
      
    <h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<link rel="stylesheet" type="text/css" href="css/css.css" media="screen"/>

		<title>
			<ui:insert name="tituloPagina">
				<h:outputText value="Novo Projeto Padr&#227;o" />
			</ui:insert>
		</title>
		
		
	</h:head>
	
	<h:body>
	  <div id="wrap">
		<div id="header">
		   <ui:include src="/pages/topo.xhtml" />
	    </div>
	   
	   <h:panelGroup rendered="#{loginBean.usuarioLogado}">
		 <ui:insert name="menu">
			 <ui:include src="/pages/menu.xhtml" />
	   	  </ui:insert>
	   </h:panelGroup> 
	    
	   <div id="main">
	      <p:dialog id="carregando" header="" widgetVar="dlg2" modal="true" height="50" width="250"  >  
      		  <h:graphicImage width="168" height="13" value="imagens/carregando.gif" /> 
			  <h:outputLabel value="Carregando..." />
		  </p:dialog>  
		  
		  <h:form id="formMensagens">
		    
		     <p:dialog id="mensagemAviso" width="400" height="85" header="Aviso" showEffect=""
		               modal="true" rendered="#{facesContext.maximumSeverity.ordinal >= 0}">
		             <h:panelGroup  id="painelMensagens">
						<span id="messages">
							<h:messages layout="table" infoClass="info" warnClass="warning" errorClass="error" fatalClass="error">
								<f:facet name="infoMarker">
					               <h:graphicImage width="16" height="16" value="/imagens/info.png" /> 
					            </f:facet>                    
					            <f:facet name="warnMarker" >
						           <h:graphicImage width="16" height="16" value="/imagens/warning.png" />   
						        </f:facet>
						        <f:facet name="errorMarker">
						           <h:graphicImage width="16" height="16" value="/imagens/error.png" />   
						        </f:facet>
					            <f:facet name="fatalMarker">
					              <h:graphicImage width="16" height="16" value="/imagens/error.png" />
					            </f:facet>
							  </h:messages>
						 </span>
						 <br clear="all" />
						 <div style="vertical-align: bottom; text-align: center">
						     <h:commandButton value=" OK " styleClass="botao" 
										      onclick="mensagemAviso.hide();" >
							  <f:ajax />
							</h:commandButton>
						 </div>
					</h:panelGroup>	
		         </p:dialog>
			  </h:form>
			<ui:insert name="body" />
		 </div>
	  </div>
	<div id="footer">
		<ui:include src="/pages/rodape.xhtml" />
	</div>
  </h:body>
</html>